//
//  MineWalletBandCardCell.m
//  copyrightTrading
//
//  Created by 郭子一 on 2020/10/6.
//  Copyright © 2020 郭子一. All rights reserved.
//

#import "MineWalletBandCardCell.h"

@implementation MineWalletBandCardCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self setupUI];
    }
    return self;
}

- (void)setupUI
{
    self.titleLab = [UILabel new];
    self.titleLab.text = @"";
    self.titleLab.font = JSS_MEDIUM_FONT(14);
    self.titleLab.textColor = RGB_VALUE(0xAAAAAA);
    [self.contentView addSubview:self.titleLab];
    [self.titleLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.offset(0);
        make.width.mas_equalTo(60);
        make.left.offset(20);
        make.height.mas_equalTo(20);
    }];
    
    self.inputTextF = [[UITextField alloc] init];
    self.inputTextF.placeholder = @"请输入";
    self.inputTextF.font = JSS_MEDIUM_FONT_4;
    self.inputTextF.textColor = RGB_VALUE(0x989898);
    self.inputTextF.textAlignment = NSTextAlignmentRight;
    [self.contentView addSubview:self.inputTextF];
    [self.inputTextF mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.offset(0);
        make.left.equalTo(self.titleLab.mas_right).mas_equalTo(10);
        make.right.offset(-20);
        make.height.mas_equalTo(20);
    }];
}

@end
